<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template('search', 'header'); ?>

<link href="<?php echo CSS_PATH;?>te/css/style.css" type="text/css" rel="stylesheet" />

   <div class="main">
        
        
        
        <!--list--->
        <div class="lists news_main">
            <div class="list_left">
                <div class="searchlist">
                    <input type="text"  class="textlist"/>
                    <input type="submit" class="submitlist" value="" />
                </div>
                <div class="procate">
                	<h6>产品分类</h6>
                </div>
                
<script src="<?php echo JS_PATH;?>te/js/center.js" type="text/javascript">
</script>
                <div class="pro_list">
				
    <?php $nowsid=$catid?>
		   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=27c8fba85a2bfc8a50b96ea6dd0e65e2&action=category&catid=2&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'2','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>

           <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
           
           	<?php $ii++?>
                	<div class="mainProNav">
                        <span><a  <?php if($ii == 1 ) { ?> class="listson" <?php } ?>  href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a></span><!--listson-->
                        
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=205bc5030f4bab57875d53a55cc0e774&action=lists&catid=%24r%5Bcatid%5D&num=12&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>$r[catid],'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'12',));}?>
			<?php if(!empty($data)) { ?>
						<div class="nav001">
                            <ul class="navM1"> 
			<?php $n=1;if(is_array($data)) foreach($data AS $p) { ?>
                            	<li><a <?php if($nowsid == $r[catid] ) { ?> class="oncate" <?php } ?> href="<?php echo $p['url'];?>"><?php echo $p['title'];?></a></li>
			<?php $n++;}unset($n); ?>
                            </ul>
                         </div>
			<?php } ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                     </div>
					 
           <?php $n++;}unset($n); ?>
		   <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                     
                </div>
                
               
                
            </div>
            <div class="list_right">
            	<div class="pro_show_title">
                	<h6>搜索</h6>
                    <h5>当前位置：<a href="<?php echo siteurl($siteid);?>"> 首页</a> >  <?php echo catpos($catid);?>  <?php echo $title;?> </h5>
                </div>
               	<div class="pro_show">
			<?php $n=1; if(is_array($datalist)) foreach($datalist AS $i => $r) { ?>
                    <div class="product product1">
                        <?php if($r['thumb']) { ?><a href="<?php echo $r['url'];?>"><img src="<?php echo $r['thumb'];?>" /><?php } ?>
                        <h6><?php echo $r['title'];?></h6>
                        <p><?php echo mb_substr($r[description],0,10,'utf-8');?></p></a>
                    </div>
            <?php $n++;}unset($n); ?>
			<?php if(empty($data)) { ?>
				<div class="about content">
                    未找到结果
                </div>
			<?php } ?>
                </div>
                
                <div class="clear"></div>
                <div style="height:20px;"></div>
                <div class="page">
                    <ul>
                        <li><?php echo $pages;?></li>
                    </ul>
                </div>
                
             
                
                
                
            </div><!--right lists end-->
            <div class="clear"></div>
        </div><!-- lists end-->
        
        
        
        
        
    </div><!-- main end-->
<!--  验证表单-->  
<script src="<?php echo JS_PATH;?>te/js/registinput.js" type="text/javascript">
</script> 
    
    
    
    

    
    

<?php include template('search', 'footer'); ?>